/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package sunsite.service;

import sunsite.dao.ResumeDao;
import sunsite.po.Resume;

/**
 *
 * @author mg
 */
public class ResumeServiceImpl implements ResumeService{
    private ResumeDao resumeDao;

    public void setResumeDao(ResumeDao resumeDao) {
        this.resumeDao = resumeDao;
    }

    public void addResume(Resume resume) {
        resumeDao.addResume(resume);
    }

    public Resume getResumeByUsr(String id) {
        return resumeDao.getResumeByUsr(id);
    }

    public void updateResume(Resume resume) {
       resumeDao.updateResume(resume);
    }

    public void deleteResume(Resume resume) {
        resumeDao.deleteResume(resume);
    }

}
